package kr.hkit.powerjava.chapter23;

public class MyRunnable implements Runnable {

	@Override
	public void run() {
		for (char ch = 'A'; ch < 'Z'; ch++) {
			System.out.print(ch + " ");
			try {
				Thread.sleep(500);//1000이면 1초(0.5초)
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		System.out.println("My runnable 종료");
	}

}
